load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "unix",
    srcs = [
        "affinity_linux.go",
        "aliases.go",
        "asm_aix_ppc64.s",
        "asm_darwin_386.s",
        "asm_darwin_amd64.s",
        "asm_darwin_arm.s",
        "asm_darwin_arm64.s",
        "asm_dragonfly_amd64.s",
        "asm_freebsd_386.s",
        "asm_freebsd_amd64.s",
        "asm_freebsd_arm.s",
        "asm_freebsd_arm64.s",
        "asm_linux_386.s",
        "asm_linux_amd64.s",
        "asm_linux_arm.s",
        "asm_linux_arm64.s",
        "asm_linux_mips64x.s",
        "asm_linux_mipsx.s",
        "asm_linux_ppc64x.s",
        "asm_linux_riscv64.s",
        "asm_linux_s390x.s",
        "asm_netbsd_386.s",
        "asm_netbsd_amd64.s",
        "asm_netbsd_arm.s",
        "asm_netbsd_arm64.s",
        "asm_openbsd_386.s",
        "asm_openbsd_amd64.s",
        "asm_openbsd_arm.s",
        "asm_openbsd_arm64.s",
        "asm_solaris_amd64.s",
        "bluetooth_linux.go",
        "cap_freebsd.go",
        "constants.go",
        "dev_aix_ppc64.go",
        "dev_darwin.go",
        "dev_dragonfly.go",
        "dev_freebsd.go",
        "dev_linux.go",
        "dev_netbsd.go",
        "dev_openbsd.go",
        "dirent.go",
        "endian_big.go",
        "endian_little.go",
        "env_unix.go",
        "errors_freebsd_386.go",
        "errors_freebsd_amd64.go",
        "errors_freebsd_arm.go",
        "errors_freebsd_arm64.go",
        "fcntl.go",
        "fcntl_darwin.go",
        "fcntl_linux_32bit.go",
        "fdset.go",
        "ioctl.go",
        "pagesize_unix.go",
        "pledge_openbsd.go",
        "race.go",
        "race0.go",
        "readdirent_getdents.go",
        "readdirent_getdirentries.go",
        "sockcmsg_dragonfly.go",
        "sockcmsg_linux.go",
        "sockcmsg_unix.go",
        "sockcmsg_unix_other.go",
        "str.go",
        "syscall.go",
        "syscall_aix.go",
        "syscall_aix_ppc64.go",
        "syscall_bsd.go",
        "syscall_darwin.1_12.go",
        "syscall_darwin.1_13.go",
        "syscall_darwin.go",
        "syscall_darwin_386.go",
        "syscall_darwin_amd64.go",
        "syscall_darwin_arm.go",
        "syscall_darwin_arm64.go",
        "syscall_darwin_libSystem.go",
        "syscall_dragonfly.go",
        "syscall_dragonfly_amd64.go",
        "syscall_freebsd.go",
        "syscall_freebsd_386.go",
        "syscall_freebsd_amd64.go",
        "syscall_freebsd_arm.go",
        "syscall_freebsd_arm64.go",
        "syscall_illumos.go",
        "syscall_linux.go",
        "syscall_linux_386.go",
        "syscall_linux_amd64.go",
        "syscall_linux_amd64_gc.go",
        "syscall_linux_arm.go",
        "syscall_linux_arm64.go",
        "syscall_linux_gc.go",
        "syscall_linux_gc_386.go",
        "syscall_linux_gc_arm.go",
        "syscall_linux_mips64x.go",
        "syscall_linux_mipsx.go",
        "syscall_linux_ppc64x.go",
        "syscall_linux_riscv64.go",
        "syscall_linux_s390x.go",
        "syscall_netbsd.go",
        "syscall_netbsd_386.go",
        "syscall_netbsd_amd64.go",
        "syscall_netbsd_arm.go",
        "syscall_netbsd_arm64.go",
        "syscall_openbsd.go",
        "syscall_openbsd_386.go",
        "syscall_openbsd_amd64.go",
        "syscall_openbsd_arm.go",
        "syscall_openbsd_arm64.go",
        "syscall_solaris.go",
        "syscall_solaris_amd64.go",
        "syscall_unix.go",
        "syscall_unix_gc.go",
        "syscall_unix_gc_ppc64x.go",
        "timestruct.go",
        "unveil_openbsd.go",
        "xattr_bsd.go",
        "zerrors_aix_ppc64.go",
        "zerrors_darwin_386.go",
        "zerrors_darwin_amd64.go",
        "zerrors_darwin_arm.go",
        "zerrors_darwin_arm64.go",
        "zerrors_dragonfly_amd64.go",
        "zerrors_freebsd_386.go",
        "zerrors_freebsd_amd64.go",
        "zerrors_freebsd_arm.go",
        "zerrors_freebsd_arm64.go",
        "zerrors_linux.go",
        "zerrors_linux_386.go",
        "zerrors_linux_amd64.go",
        "zerrors_linux_arm.go",
        "zerrors_linux_arm64.go",
        "zerrors_linux_mips.go",
        "zerrors_linux_mips64.go",
        "zerrors_linux_mips64le.go",
        "zerrors_linux_mipsle.go",
        "zerrors_linux_ppc64.go",
        "zerrors_linux_ppc64le.go",
        "zerrors_linux_riscv64.go",
        "zerrors_linux_s390x.go",
        "zerrors_netbsd_386.go",
        "zerrors_netbsd_amd64.go",
        "zerrors_netbsd_arm.go",
        "zerrors_netbsd_arm64.go",
        "zerrors_openbsd_386.go",
        "zerrors_openbsd_amd64.go",
        "zerrors_openbsd_arm.go",
        "zerrors_openbsd_arm64.go",
        "zerrors_solaris_amd64.go",
        "zptrace_armnn_linux.go",
        "zptrace_linux_arm64.go",
        "zptrace_mipsnn_linux.go",
        "zptrace_mipsnnle_linux.go",
        "zptrace_x86_linux.go",
        "zsyscall_aix_ppc64.go",
        "zsyscall_aix_ppc64_gc.go",
        "zsyscall_darwin_386.1_13.go",
        "zsyscall_darwin_386.1_13.s",
        "zsyscall_darwin_386.go",
        "zsyscall_darwin_386.s",
        "zsyscall_darwin_amd64.1_13.go",
        "zsyscall_darwin_amd64.1_13.s",
        "zsyscall_darwin_amd64.go",
        "zsyscall_darwin_amd64.s",
        "zsyscall_darwin_arm.1_13.go",
        "zsyscall_darwin_arm.1_13.s",
        "zsyscall_darwin_arm.go",
        "zsyscall_darwin_arm.s",
        "zsyscall_darwin_arm64.1_13.go",
        "zsyscall_darwin_arm64.1_13.s",
        "zsyscall_darwin_arm64.go",
        "zsyscall_darwin_arm64.s",
        "zsyscall_dragonfly_amd64.go",
        "zsyscall_freebsd_386.go",
        "zsyscall_freebsd_amd64.go",
        "zsyscall_freebsd_arm.go",
        "zsyscall_freebsd_arm64.go",
        "zsyscall_illumos_amd64.go",
        "zsyscall_linux.go",
        "zsyscall_linux_386.go",
        "zsyscall_linux_amd64.go",
        "zsyscall_linux_arm.go",
        "zsyscall_linux_arm64.go",
        "zsyscall_linux_mips.go",
        "zsyscall_linux_mips64.go",
        "zsyscall_linux_mips64le.go",
        "zsyscall_linux_mipsle.go",
        "zsyscall_linux_ppc64.go",
        "zsyscall_linux_ppc64le.go",
        "zsyscall_linux_riscv64.go",
        "zsyscall_linux_s390x.go",
        "zsyscall_netbsd_386.go",
        "zsyscall_netbsd_amd64.go",
        "zsyscall_netbsd_arm.go",
        "zsyscall_netbsd_arm64.go",
        "zsyscall_openbsd_386.go",
        "zsyscall_openbsd_amd64.go",
        "zsyscall_openbsd_arm.go",
        "zsyscall_openbsd_arm64.go",
        "zsyscall_solaris_amd64.go",
        "zsysctl_openbsd_386.go",
        "zsysctl_openbsd_amd64.go",
        "zsysctl_openbsd_arm.go",
        "zsysctl_openbsd_arm64.go",
        "zsysnum_darwin_386.go",
        "zsysnum_darwin_amd64.go",
        "zsysnum_darwin_arm.go",
        "zsysnum_darwin_arm64.go",
        "zsysnum_dragonfly_amd64.go",
        "zsysnum_freebsd_386.go",
        "zsysnum_freebsd_amd64.go",
        "zsysnum_freebsd_arm.go",
        "zsysnum_freebsd_arm64.go",
        "zsysnum_linux_386.go",
        "zsysnum_linux_amd64.go",
        "zsysnum_linux_arm.go",
        "zsysnum_linux_arm64.go",
        "zsysnum_linux_mips.go",
        "zsysnum_linux_mips64.go",
        "zsysnum_linux_mips64le.go",
        "zsysnum_linux_mipsle.go",
        "zsysnum_linux_ppc64.go",
        "zsysnum_linux_ppc64le.go",
        "zsysnum_linux_riscv64.go",
        "zsysnum_linux_s390x.go",
        "zsysnum_netbsd_386.go",
        "zsysnum_netbsd_amd64.go",
        "zsysnum_netbsd_arm.go",
        "zsysnum_netbsd_arm64.go",
        "zsysnum_openbsd_386.go",
        "zsysnum_openbsd_amd64.go",
        "zsysnum_openbsd_arm.go",
        "zsysnum_openbsd_arm64.go",
        "ztypes_aix_ppc64.go",
        "ztypes_darwin_386.go",
        "ztypes_darwin_amd64.go",
        "ztypes_darwin_arm.go",
        "ztypes_darwin_arm64.go",
        "ztypes_dragonfly_amd64.go",
        "ztypes_freebsd_386.go",
        "ztypes_freebsd_amd64.go",
        "ztypes_freebsd_arm.go",
        "ztypes_freebsd_arm64.go",
        "ztypes_linux.go",
        "ztypes_linux_386.go",
        "ztypes_linux_amd64.go",
        "ztypes_linux_arm.go",
        "ztypes_linux_arm64.go",
        "ztypes_linux_mips.go",
        "ztypes_linux_mips64.go",
        "ztypes_linux_mips64le.go",
        "ztypes_linux_mipsle.go",
        "ztypes_linux_ppc64.go",
        "ztypes_linux_ppc64le.go",
        "ztypes_linux_riscv64.go",
        "ztypes_linux_s390x.go",
        "ztypes_netbsd_386.go",
        "ztypes_netbsd_amd64.go",
        "ztypes_netbsd_arm.go",
        "ztypes_netbsd_arm64.go",
        "ztypes_openbsd_386.go",
        "ztypes_openbsd_amd64.go",
        "ztypes_openbsd_arm.go",
        "ztypes_openbsd_arm64.go",
        "ztypes_solaris_amd64.go",
    ],
    cgo = True,
    importmap = "github.com/cockroachdb/cockroach/vendor/golang.org/x/sys/unix",
    importpath = "golang.org/x/sys/unix",
    visibility = ["//visibility:public"],
    deps = select({
        "@io_bazel_rules_go//go/platform:aix": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "@io_bazel_rules_go//go/platform:android": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "@io_bazel_rules_go//go/platform:darwin": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "@io_bazel_rules_go//go/platform:dragonfly": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "@io_bazel_rules_go//go/platform:freebsd": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "@io_bazel_rules_go//go/platform:ios": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "@io_bazel_rules_go//go/platform:linux": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "@io_bazel_rules_go//go/platform:netbsd": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "@io_bazel_rules_go//go/platform:openbsd": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "@io_bazel_rules_go//go/platform:solaris": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "//conditions:default": [],
    }),
)
